<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
	</head>
	<style type="text/css">
		*{
			margin: 0;
			padding: 0;
		}
		#container{
			width: 100%;
			height: 600px;
			display: flex;
			justify-content: center;
			align-items: center;
		
		}
		#out{
			width: 600px;
			height: 500px;
			display: flex;
			align-items: center;
			overflow: hidden;
		
		}
		#imglist{
			width: 1600px;
			height: 100px;
			display: flex;
		}
		#imglist img{
			width: 100px;
			height: 100px;
		}
	</style>
	<body>
		<div id="container">
			<div id="out">
				<div id="imglist" onmouseenter="mouseEnter()" onmouseleave="mouseLeave()">
					<img src="img/lunbo/1.jpeg" >
					<img src="img/lunbo/2.jpeg" >
					<img src="img/lunbo/3.jpeg" >
					<img src="img/lunbo/4.jpeg" >
					<img src="img/lunbo/5.jpeg" >
					<img src="img/lunbo/6.jpeg" >
					<img src="img/lunbo/7.jpeg" >
					<img src="img/lunbo/8.jpeg" >
					<img src="img/lunbo/9.jpeg" >
					<img src="img/lunbo/10.jpeg" >
					<img src="img/lunbo/1.jpeg" >
					<img src="img/lunbo/2.jpeg" >
					<img src="img/lunbo/3.jpeg" >
					<img src="img/lunbo/4.jpeg" >
					<img src="img/lunbo/5.jpeg" >
				    <img src="img/lunbo/6.jpeg" >
				</div>
		   </div>
		</div>
	</body>
	<script type="text/javascript">
		var imglistObj=document.getElementById('imglist');
		var marginLeft=0;
		onload = function (){
			setInterval(function (){
				marginLeft--;
				imglistObj.style.marginLeft=marginLeft+'px';
				if(marginLeft==-1000){
					marginLeft=0;    
				}
			},10)
		}
		function mouseEnter(){
		 
		}
		function mouseLeave(){
		
		}
	</script>
</html>
